<?php
require_once('db.php');

$date = date('Y-m-d H:i:s');
$query = "INSERT INTO `users`
(`status`,`created_date`,`name`,`email`,`password`)
VALUES
('1','$datez','Rasmus','php@zend.com','asdfgh')";

mysql_query($query) or die(mysql_error());

$lastInsertedId = mysql_insert_id();

echo "User inserted on Id : $lastInsertedId \n\n";
